package com.example.gulimall.order.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.common.entity.order.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单
 * 
 * @author zyred
 * @email zyred@163.com
 * @date 2021-08-23 11:54:53
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {

    IPage<List<OrderEntity>> selectUserOrder(@Param("page") IPage<OrderEntity> page, @Param("userId") Long userId);
}
